home *** CD-ROM | disk | FTP | other *** search
/ 2,000 Greater & Lesser Mysteries / 2,000 Greater and Lesser Mysteries.iso / computer / security / mys00395.txt < prev    next >
Encoding:
Text File  |  1994-06-10  |  11.9 KB  |  279 lines

  1.  
  2.  
  3.          For Official Department of Energy Use Only
  4. _______________________________________________________________________
  5.  
  6. THE COMPUTER INCIDENT ADVISORY CAPABILITY (CIAC) ADVISORY NOTICE
  7. _______________________________________________________________________
  8.  
  9.     Tools available to check the spread of the "WANK" Worm
  10.  
  11.  
  12. October 20, 1989 1130 PST                          Number A-3
  13.  
  14.  
  15. Summary
  16.  
  17. This is a follow-up bulletin to the CIAC advisory notice A-2 dated
  18. October 16, 1989, stating that the "WANK" worm is attacking HEPnet and
  19. the NASA SPAN network on VAX/VMS systems connected via DECnet.  Our
  20. latest information is that  approximately 60 to 70 systems, mostly at
  21. non-DOE sites, have been  infected.  The rate at which this worm is
  22. spreading seems to be slowing, although more detailed information about
  23. the spread of this worm is not currently available.
  24.  
  25. CIAC now has additional information about the "WANK" computer worm
  26. outbreak.  The worm targets VMS machines, and can only be propagated
  27. via DECnet.  The worm exploits well known security holes within the
  28. DECnet/VMS system in order to propagate itself.  However, most DOE
  29. sites have not yet been affected.  In order to help prevent your site
  30. >from becoming infected, we recommend that you follow procedures
  31. described in this bulletin , and use a tool to check your VAX/VMS
  32. systems for the same weaknesses the worm exploits.  We also are
  33. providing you with a list of the worm symptoms, as well as a tool to
  34. kill the worm if your systems become infected.
  35.  
  36. If your site is infected, or if you have any questions, please contact
  37. CIAC.  CIAC phone numbers and addresses appear at the end of this
  38. notice.
  39.  
  40. Advisory Notice
  41.  
  42. A computer worm written in DCL for DEC-VMS has been attacking the
  43. HEPnet and the NASA  SPAN networks.  This worm can only be propagated
  44. via DECnet.  The primary methods of attack include a brute force attack
  45. on passwords as well as exploiting well known security vulnerabilities
  46. of DECnet/VMS.  One vulnerability is the default DECnet account, which
  47. is a facility for users who do not have a specific login ID for a
  48. machine and want some degree of anonymous access. It uses the default
  49. DECnet account to copy itself to a machine, and then uses the "TASK 0"
  50. and Submit/Remote features of DECnet to invoke the remote copy.   Once
  51. the worm has successfully penetrated a system, it will infect .COM
  52. files and create new security vulnerabilities.  It then broadcasts
  53. these vulnerabilities to another machine.  It may also damage files or
  54. crash systems.
  55.  
  56. In our last memo we published an analysis of the worm by Kevin
  57. Oberman.  That analysis contained a error that we would like to
  58. correct.  In that notice we printed the quote:
  59.  
  60. 4. Information on the password used to access the system is mailed to
  61. the user GEMTOP on SPAN node 6.59. Some versions may have a different
  62. address.
  63.  
  64. The actual user is "GEMPAK" not "GEMTOP".
  65.  
  66. Visible Symptoms
  67.  
  68. The following information is an extract from a report by John McMahon
  69. on detecting the symptoms of the WANK worm.  This information was
  70. compiled after a thorough analysis of copies of various versions  of
  71. the WANK worm retrieved from different infected sites.  There are
  72. indications that these copies were derived from three different
  73. "starter" versions of the worm.  The worm is self-modifying, and may
  74. also have been manually modified by others.  There may also be other
  75. currently undetected versions of the worm with additional
  76. capabilities.
  77.  
  78. Specifically, some or all of the following symptoms have been noted on
  79. infected systems:
  80.  
  81. 1) Account passwords have been changed without the knowledge of the
  82. user, or the system manager.
  83.  
  84. 2) Processes are running on your system with the process name NETW_nnnn
  85. (where nnnn is a random number). Check this with the SHOW SYSTEM
  86. command.
  87.  
  88. 3) Command procedures/data file names starting with one or two letters
  89. and up to a five digit number appear in the SYS$LOGIN: directory of an
  90. account. Examples: C12345.COM, A7007.DAT.
  91.  
  92.    Note: Earlier reports that the file W.COM is created by the worm
  93.    appear to be in error.  Any "anti-worm" procedure involving the
  94.    creation of a blank W.COM;32767 will NOT stop the worm.
  95.  
  96. 4) The SYS$ANNOUNCE message, prior to the USERNAME: login prompt, has
  97. been
  98.    redefined to the following WANK logo.
  99.       W O R M S    A G A I N S T    N U C L E A R    K I L L E R S
  100.     _______________________________________________________________
  101.     \__  ____________  _____    ________    ____  ____   __  _____/
  102.      \ \ \    /\    / /    / /\ \       | \ \  | |    | | / /    /
  103.       \ \ \  /  \  / /    / /__\ \      | |\ \ | |    | |/ /    /
  104.        \ \ \/ /\ \/ /    / ______ \     | | \ \| |    | |\ \   /
  105.     \_\  /__\  /____/ /______\ \____| |__\ | |____| |_\ \_/
  106.      \___________________________________________________/
  107.       \                                                 /
  108.        \    Your System Has Been Officically WANKed    /
  109.         \_____________________________________________/
  110.  
  111.      You talk of times of peace for all, and then prepare for war.
  112.  
  113. 5) The SYSTEM account can no longer receive mail.  The DISMAIL flag has
  114. been set in SYSTEM's UAF record.
  115.  
  116. 6) Users log into the system and report that all of their files have
  117. been deleted while logging in.  The user observes many %DELETE-I-FILDEL
  118. messages ,and DIRECTORY reports that no files are found.  The system
  119. manager follows up on this report and finds the files are still there,
  120. and that the system login procedure (SYLOGIN, SYS$SYLOGIN) has been
  121. modified.
  122.    Note: Earlier reports that the worm performs mass deletion of files
  123.    appears to be in error.
  124.  
  125. 7) Command procedures have been modified with code to reactivate the
  126. FIELD account if the person running the procedure has SYSPRV.
  127.  
  128. 8) A remote DECnet site contacts you about odd VAXPhone call messages
  129. coming from your node.  The VAXPhone ring messages do not contain a
  130. userid, but a strange "fortune cookie" saying.
  131.  
  132.    Note: the node id can be found in the NETSERVER.LOG files in your
  133.    DECnet default account.  [CIAC note]: Please note the node number of
  134. the system that sent you the message and pass that information to your
  135. respective network security manager, or CIAC so that the infected node
  136. can be informed.
  137.  
  138. 9) Top-level directories have had their OWNER protection field changed
  139. to O:RWED.
  140.  
  141. 10) A remote DECnet site contacts you about logfails (on several
  142. accounts) on the remote site which were traced back to an account on
  143. your machine. Similarly, a remote site contacts you because a local
  144. account tried to read the SYSUAF/RIGHTSLIST files on the remote node.
  145.  
  146.  Regardless of whether or not you think you have been infected,
  147.  download the ANTIWANK.COM command procedure and start it running on
  148. your node immediately.  This program will kill copies of the worm that
  149. are running on your node.
  150.  
  151. You may see the whole list of symptoms and recommended fixes by
  152. obtaining the file WORM-INFO.COM.  See details below.
  153.  
  154. Procedures to stop the spread of this worm
  155.  
  156. CIAC recommends that you use the following procedures, quoted from a
  157. message by Ron Tencati (SPAN Security Manager), to stop the spread of
  158. the WANK worm:
  159.  
  160. 1) It is IMPERATIVE that all systems protect or remove the DECnet TASK
  161. 0 object to prevent reoccurrence of this worm, OR MORE SERIOUS ATTACKS
  162. OF THIS KIND IN THE FUTURE!
  163.  
  164.    The TASK object can be secured by either of the following methods:
  165.  
  166. Method 1)
  167.  
  168.     Issue the command:
  169.  
  170.         NCP> CLEAR OBJECT TASK ALL
  171.  
  172.     after the network is started up.  This command can also be
  173.     inserted into the procedure SYSTARTUP>COM (SYSTARTUP_V5.COM on
  174.     V5.x systems) after the call to STARTNET.COM.  In addition
  175.     which the system is running, this command must be executed EACH
  176.     TIME the network is restarted.
  177.  
  178. Method 2:
  179.  
  180.     Issue the following commands ONCE:
  181.  
  182.     NCP> SET OBJECT TASK USER DECNET PASSWORD <a bunch of garbage>
  183.     NCP> DEFINE OBJECT TASK USER DECNET PASSWORD <a bunch of
  184.     garbage>
  185.  
  186.     This causes a login failure to be generated whenever the TASK
  187.     object is accessed.  Once done, this change will be permanent.
  188.  
  189.         NOTE We have received one report that TASK 0 is
  190.     required for DECwindows.  Read your documentation!
  191.  
  192. 2) Under NO circumstances it is acceptable for an account to have a
  193. password the same as the username.  Passwords (passPHRASES) should be
  194. created so that they are difficult to guess, multi- word phrases are
  195. preferable.  As a precaution, we recommend that all passwords be
  196. changed.  Additionally, system managers may choose to revalidate ALL
  197. accounts.
  198.  
  199. If a system had the DECNET TASK 0 protected as above, the DECNET
  200. account protected against SUBMIT/REMOTE (described below) and no user
  201. had their userid as their password, it was immune to this WORM.  As a
  202. result, the number of nodes actually INFECTED by this attack is
  203. relatively small.  The number ATTACKED however, is large.
  204.  
  205. 3. NETWORK ATTACKS
  206.  
  207. To protect against the SUBMIT/REMOTE attack, run AUTHORIZE and make
  208. sure that all network account flags are set to NOBATCH, NODIALUP,
  209. NOLOCAL, and NOREMOTE.
  210.  
  211. 4. FIELD ACCOUNT
  212.  
  213. Make sure the FIELD ACCOUNT does not have the password FIELD.   DISUSER
  214. the account.  You must SEARCH all .COM files for a
  215. "field/remote/dialup."  If the search shows it is in .COM files, They
  216. have a trojan horse appended to the files.  When the .COM file is
  217. executed, This Trojan horse will try to reset account FIELD to
  218. /NODISUSER and password to FIELD.  You should either delete the
  219. corrupted .COM file and obtain a good one elsewhere, or examine the
  220. file and remove the affected lines of the command procedure.
  221.  
  222. 5. WORM FILES
  223.  
  224. The WORM source files are W.COM or a single alphabetic character (C or
  225. D) followed by 4 or 5 numeric characters. (Cnnnnn.COM), ("nnnn"
  226. represents a random number).  The WORM will start a process or
  227. processes running.  These processes are named in format NETW_nnnn, and
  228. should be deleted.  PHONE_nnnn may also be running as the WORM utilizes
  229. the PHONE object in an attempt to send a message to a user on another
  230. randomly selected node.
  231.  
  232. 6. ALARMS
  233.  
  234. Some alarms generated by the WORM are related to PHONE.EXE and
  235. FAL.EXE.  The majority of the alarms are login failures as the WORM
  236. attempts to log into specific accounts.
  237.  
  238. We recommend that alarms be set immediately for logins, logouts,
  239. breakin attempts, modifications to the system and net UAF's, and to
  240. changes to user and system passwords.
  241.  
  242. Tools available
  243.  
  244. A series of tools are available to control the WANK worm.  These may be
  245. obtained by anonymous FTP access from node ROGUE.LLNL.GOV
  246. (128.115.2.99). They may also be obtained from SPAN and ESnet.  Contact
  247. CIAC for more information.
  248.  
  249. [.SECURITY]CHECK_SYSTEM.COM, written by Kevin Oberman, will check your
  250. entire system for the security holes used by the WANK worm.  It then
  251. reports back all system problems so that they can be corrected.
  252.  
  253. DEC has provided a fix for the well known problem with the default
  254. DECnet account hole called  SYS$UPDATE:NETCONFIG_UPDATE.COM for VMS
  255. V5.2.  It is available from the VMS V5.2 distribution tape.  If you
  256. have this, CIAC recommends that you run it now.  If you donUt have
  257. access or are running an earlier system such as V4., you may obtain
  258. >from ROGUE.LLNL.GOV a program called: FIX-FAL.COM which fixes the
  259. default DECnet account.
  260.  
  261. The program by John McMahon can be obtained by downloading
  262. ANTIWANK.COM.  This program kills the worm processes.  You can also run
  263. it as a vaccine even if your systems have not been infected.
  264.  
  265. WORM-INFO.TXT contains an important report by John McMahon .  It
  266. contains a list of symptoms, recommended proceduresand the code for
  267. ANTIWANK.COM.
  268.  
  269. If your site has been infected, or if you have any questions, please
  270. contact either of the following CIAC team members:
  271.  
  272.     David Brown, (415) 423-9878 or FTS 543-9878 
  273.     Gene Schultz, (415) 422-8193 or FTS 532-8193
  274.      or send electronic mail to:ciac@tiger.llnl.gov
  275.      CIAC FAX: (415) 422-4294 FTS 532-4294
  276.  
  277.  
  278.  
  279.